It's unlikely that somebody has more than five VPN connections
configured, and the code is
https://bugzilla.gnome.org/show_bug.cgi?id=701954
for(let j = 0; j < this._connections.length; ++j) {
let obj = this._connections[j];
obj.item = this._createConnectionItem(obj);
-
- if (j >= NUM_VISIBLE_NETWORKS) {
- if (!this._overflowItem) {
- this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("Moreā¦"));
- this.section.addMenuItem(this._overflowItem);
- }
- this._overflowItem.menu.addMenuItem(obj.item);
- } else
- this.section.addMenuItem(obj.item);
+ this.section.addMenuItem(obj.item);
}
} else {
this.section.actor.hide()